Scientists at the University of Texas at Dallas found a new way to detect mental health issues by analyzing how people move.