Masses and Boost-Invariant Wave Functions of Heavy Quarkonia from the Light-Front Hamiltonian of QCD