Measurement of the weak mixing angle at a Super Charm-Tau factory with data-driven monitoring of the average electron beam polarization