Australian Treasurer wins ballot to be next prime minister