Why do you expect prismatic joint to rotate? It's not supposed to. Revolute joint should be used for rotation.
Like I said, you can connect another sprite to the car with prismatic joint, that sprite will not rotate, but will work as a spring or a shock absorber. And then you attach the wheel to that sprite using a revolute joint.