Mark Carney has never held elected office and yet his rise to prime minister felt inevitable. His biggest test begins now