Gain of a High-Impedance Cavity Coupled to Strongly Driven Semiconductor Quantum Dots