CANDELS/GOODS-S, CDFS, and ECDFS: Photometric Redshifts for Normal and X-Ray-Detected Galaxies