Spectral structure of the 2D Bose-Hubbard model dressed by a quantized cavity field