USA og Venezuela signerte militære og energisamarbeidsavtaler under et uplanlagt besøk av USAs forsvarsminister Pete Hegseth til Caracas.