Redshift-space distortions in simulations of the 21-cm signal from the cosmic dawn