Observation of parity-time symmetry in an optical system formed by moving atoms