The AI-powered program alerts commanders about sailors whose data indicates they are contemplating leaving the Navy.