Foreign secretary hints at leadership bid in Tory succession crisis