Investors warm up to defence sector as geopolitical risks rise