This month’s roller-coaster ride through the markets has been more frightening than exhilarating for many Americans, who have more than $44 trillion invested in retirement accounts.