Magnetotunneling spectroscopy of resonant anticrossing in terahertz intersubband emitters