MPs have voted against a proposal to ban under-16s from using social media via amendment to the Children's Wellbeing and Schools Bill.