X-ray emission of z > 2.5 active galactic nuclei can be obscured by their host galaxies