To the best of my knowledge, such a salary spread in engineering would span different jobs with different job titles. Inside software engineering, you don't get promoted from Junior Software Developer to Architect by seniority. Heck, being a senior citizen doesn't even guarantee you a promotion to Senior Software Engineer. Outside of software engineering, only about 5% of people earning engineering degrees end up doing design work at all, so the work roles of different engineers can be very different.
You have a good point about retention in the early years, which is why I mentioned five years of experience. I also believe that the best teachers just keep getting better. However, among average teachers I couldn't tell much difference between the thirty-year-olds and the sixty-year-olds, except that the thirty-year-olds were better-looking and told better jokes. I had dozens of teachers and cared deeply about the performance of each one (me: valedictorian, mathlete, AP whore) so I expect I would have noticed the pattern if older teachers tended to be significantly better than younger ones.