Palantir is a software company, and its national security work has driven its stock price to remarkable heights.