Australia's world-first teen social media ban was "ill thought out" and amounted to a "profound restriction on political debate", a lawyer for messaging platform Reddit told the country's top court in the first legal challenge to the law.