Electromagnetically induced transparency with Rydberg atoms across the Breit-Rabi regime