Reconstructing the kinematics of gravitationally lensed dusty star-forming galaxies