At most companies I've worked for, mentoring and training junior engineers is a requirement for promotion. Also, you might not get promoted for maintenance but
1. keeping it running with a healthy userbase and demonstrating high impact does, and
2. if you know how to spin it, then maintenance work can look like "building new stuff".