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