Many schools across the country are banning cellphones to improve teens’ mental health and reduce the harmful effects of social media.