The White House is considering a scaled-down version of its traditional ceremony marking the end of Ramadan next month, after Muslim leaders warned aides that people would decline invitations in objection to the president’s handling of the Israel-Hamas war.