Approximation theory for weighted Sobolev spaces on curves