Paul Ryan, the Republican speaker of the U.S. House of Representatives, would like to retire after the November congressional elections, Politico said on Thursday, but he said he was not quitting.