How northern Minnesota went from Democratic stronghold to battleground