The Israeli prime minister, who drew protests both inside and outside the United Nations building, also went after Mamdani’s wife in his remarks.