Sir James Fergusson, 2nd Baronet — Scottish judge (1688-1759)