Banks, James, active 1741-1790, Consul at Cartagena