Esmonde, Thomas, Sir, 9th Baronet, MP