How doctors, scientists and “anonymous” programs are working to free people from their phones