Photon-counting intensified random-access charge injection device