Younger workers enjoyed the biggest percentage gain in wealth since the pandemic, the New York Federal Reserve found.