The lawsuit claims that an hourlong comedy special on YouTube violated Carlin’s copyright.