The X-Ray Environment During the Epoch of Terrestrial Planet Formation: Chandra Observations of h Persei