Magnetic-field and composition tuned antiferromagnetic instability in the quantum spin-liquid candidate NaYbO2