Livingstone, Thomas, active 1685-1718, Viscount Teviot