The future of New Zealand's next government lies in the hands of an opposition leader who has been likened to Trump.