The president tried to smooth friction with Britain in a meeting with Theresa May, while excoriating the Palestinians in a sit-down with Israel’s Benjamin Netanyahu.