Reddit is taking the Australian government to court to block its social-media ban for children under the age of 16, saying the ban infringes on their freedom of political discourse.