Britain’s de facto deputy prime minister David Lidington resigned from the government on Wednesday ahead of Boris Johnson being appointed prime minister.