The Israeli prime minister has sent a letter to world leaders that have promised to recognise Palestine, accusing them of enabling antisemitism.