Strong coupling of a two-dimensional electron ensemble to a single-mode cavity resonator