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