First Sagittarius A* Event Horizon Telescope results: VII. Polarization of the ring