Dozens of nations boycotted the prime minister’s address, capping off a disappointing week for Israel.