To retain possibly restless new hires, credit unions are investing in ideation programs, career development, and community service.