John Maitland, 5th Earl of Lauderdale — Scottish judge and politician