Caradoc, John Francis, 1759-1839, 1st Baron Howden, army officer