A case at the UN’s top court urges actions to prevent ‘severe and irreparable harm’ against Palestinians