Tracing large-scale structure at high redshift with Lyman-α emitters: the effect of peculiar velocities