The group of automorphisms of the function fields of the curve \(x^n+y^m+1=0\) Moduli spaces of framed symplectic and orthogonal bundles on \(\mathbb{P}^2\) and the \(K\)-theoretic Nekrasov partition functions 