“A motion to dismiss on the pleadings ... is similar to a motion to dismiss for failure to state a claim upon which relief can be granted [.]” (Orion Technical Res., LLC v. Los Alamos Nat'l Sec., LLC (2012) 287 P.3d 967, 971 citing Shovelin v. Cent. N.M. Elec. Coop., Inc. (1993) 115 N.M. 293, 302.)