Sir David Dalrymple, 1st Baronet — Scottish politician and noble