France approved a sweeping landmark social media ban for children under 15, also blocking the use of cellphones in high school.