Thomas married Elizabeth, the widow of John Stewart, 2nd Earl of Buchan, was the daughter of which Scottish nobleman and warlord?