Measurement-feedback control of the chiral photon emission from an atom chain into a nanofiber