Stable quantum key distribution with active polarization control based on time-division multiplexing