Justices spent more than two hours arguing over whether a ban on the app would be infringing on the First Amendment