Optically induced spin-to-charge transduction in donor-spin readout