Sir James Stewart, 1st Baronet — Scottish lawyer