Coupling optical and electrical gating for electronic readout of quantum dot dynamics