Quantum statistics of light transmitted through an intracavity Rydberg medium