Rising suicide rates and depression in US teens and young adults have prompted researchers to ask a provocative question: Could the same devices that some people blame for contributing to tech-age angst also be used to detect it?