A New York Fed analysis suggests remote work and reduced mentorship may be hurting younger workers more than AI.