Resonant x-ray scattering beyond the Born–Oppenheimer approximation: Symmetry breaking in the oxygen resonant x-ray emission spectrum of carbon dioxide