Sir Hugh Williams, 8th Baronet — Welsh soldier and Member of Parliament