Competing effects of Kerr nonlinearity and K-photon absorptions on continuous-wave laser inscriptions