If the French effort becomes law, it would make France the first European country to follow Australia’s lead by banning social media for young teenagers.