Public money from Stormont has been going towards planes used by Israel in its bombardment of Gaza, a policy adviser on arms and conflict has warned.