Taoiseach Micheál Martin has said Ireland’s principled stance on Gaza and the West Bank was being “weaponised” against the country.