Radiative feedback from high-mass X-ray binaries on the formation of the first galaxies and early reionization