Ardern’s dramatic departure comes as polling shows her Labour party could no longer hold parliament majority after upcoming elections; lawmaker burst onto global scene in 2017 when she became world’s youngest female head of state