Sir John Riddell, 9th Baronet — politician