A federal district court and an appeals court threw out Carmen Segarra’s lawsuit, and neither court offered very persuasive reasons for doing so.