Semiclassical analysis of a nonlinear eigenvalue problem and nonanalytic hypoellipticity