The president’s comments Thursday at the Davos economic forum deepened the diplomatic rift that followed his decision to recognize Jerusalem as Israel’s capital.