More older Americans are leaving the workforce, and a new report suggests rising stock market wealth could be helping drive the trend.