Doping-induced insulator-metal transition in the Lifshitz magnetic insulator NaOsO3