The idea that war is justified in specific circumstances has held sway for almost two millennia – but as technology evolves, can it hold?