Douglas, William, 1742-1777