Probing CP violation in dark sector through the electron electric dipole moment