Amid mental health concerns, many parents and governments are imposing midnight social media ban on teenagers