Characterization of the CMS Endcap Timing Layer readout chip prototype with charge injection