New Zealand prime minister Christopher Luxon says he has a pathway to form the next government.