Theoretical Description of Micromaser in the Ultrastrong-Coupling Regime