A federal minister is confident Australia’s social media ban will hold up in court, as popular platform Reddit launches a High Court challenge.