The former Scottish first minister’s husband, the onetime chief executive of the Scottish National Party, appeared in court on embezzlement charges.