The engine manufacturer’s boss said more military spending will ‘contribute to economic growth’ as its shares soared on a recovery in profit.