Search for the rare decays $D\to h(h')e^+e^-$