Amid a nationwide shortage of mental health care providers, virtual care systems, including apps, are attracting patients.