Higher-form symmetry and chiral transport in real-time lattice $U(1)$ gauge theory