You cannot decide galaxy rotation by looking at it. Consider this gallaxy:
_______
\ _ B\
/ /_\ \
\ \_/ \
\A____ /
\/
Is A side closer to us, or is B side closer to us? You can't tell by just looking at it, if the B is closer that we are seeing bottom of the galaxy and it rotates CW. If A is closer than we are seing top of the gallaxy and it rotates CCW.
Yes you can, by gravitational lensing of another body. Works exactly by triangulation in Lorentz space. You can thank Einstein for this feature of special relativity.
(Tricky part is deciding it's another body from a picture. You would need a second JWST preferably far in the other Lagrange point. Stereoscopy solves it directly. You can )
The thing is, you need another galaxy in the way to be sure, or a black hole. Theoretically our Sun can serve. [] Or the supermassive black hole in the center of our galaxy, but the sensitivity might be a bit compromised.