William Hay, 4th Earl of Erroll — Scottish peer and soldier