Compact lattice U(1) and Seiberg-Witten duality