The lawsuit challenges a conservative effort to punish those who criticized Mr. Kirk in the aftermath of his killing.