IIRC Stewart was the Scots spelling and Stuart was a French spelling that emerged from the Jacobite exile.