The UK’s new prime minister has a resume that would make anyone think twice