New research shows colleges attract interest from higher-caliber students when the schools’ home states allow their citizens to get high.