Hénon-Heiles Hamiltonian for coupled upper-hybrid and magnetoacoustic waves in magnetized plasmas