Palantir Technologies is confronting a major political obstacle that could threaten $330 million in government contracts, a development that has caught the attention...