Downing, John, active 1778-1789, Lieutenant, RA