The president “conveyed his wish to continue a close relationship with the king,” the White House said.