The AI company filed a lawsuit in federal court after the Pentagon blacklisted Claude over restrictions on military use.