The president fawned over the mayor-elect, parting with the New York Republican who has claimed he’s a jihadist.