Race and economics help explain how Sanders won one of the country's most conservative states while losing one of its most liberal.