Direct Detection Constraints on Dark Photons with the CDEX-10 Experiment at the China Jinping Underground Laboratory.