The Catholic Church’s teachings on ‘just war’ have guided leaders’ long history of opposing many military interventions.