When does perceptual alignment benefit vision representations?