Palantir Technologies Inc. won an order blocking three former employees from trying to poach its staff and using confidential information for an artificial intelligence startup.