The Labour MP, who is Jewish and pro-Israel, was prevented from visiting a school in his constituency