Chris Luxon's National party has given support for its embattled leader to continue as New Zealand prime minister.