High-frequency switching device with an inserted inverter circuit