Thomas Potter — English barrister, judge and politician