If social media firms take their responsibilities more seriously, it should be possible to create an online world that’s safe for children