Mental health services in the "good old days" were shrouded in a thick fog of Freudian bullshit and couldn't do much for really troubled patients besides keep them warehoused and docile. Before that, they didn't really exist at all.
The feeling of a collective mental breakdown has been in the public consciousness since at least WWII. The loss of meaning and religious faith after such large-scale horror and the response in postmodern aesthetics and philosophy, the isolation beneath the surface-level perfection of the new suburbs, the invention of mass market consumerism, the constant threat of nuclear annihilation, struggle and upheaval around gender/sexuality/race, the Kennedy assassination, the Vietnam War and Nixon-era loss of faith in institutions, stagflation, you name it.
By liberalism here, I mean the original (and only sensible) meaning of a system of individual freedom in social, religious, and economic spheres, equality before the law, and democratic representation, not the New Left's utter misappropriation of the term to represent tribal resentment and mob justice.
Mental health is getting worse because the economy is getting worse, simply.