Employers are becoming more open to career breaks, but new data shows that workers risk serious pension losses unless they plan ahead.