Now we're talking about heroic icons. There are thousands, or maybe 10s of thousands of 100x developers. There is only one Florence Nightingale, Steve Jobs, Donald Knuth, Michelangelo, Einstein, etc...
You don't need to be a heroic icon to be more valuable than a 100x developer.
The 100x teacher who molds the mind of the kid/teenager/adult who eventually cures cancer is worth more than just about any single 100x developer out there right now, and you'll never know that person's name.
(Yeah, I'm aware there will be multiple different cures for different cancers, the point remains)
It would be interesting to see if any great researcher could tie back their success to a teacher. My suspicion (based on nothing more than gut feeling) is that while a good/great teacher has some impact, that beyond a certain level it's 99.9% the individual and their environment/peers/parents/contacts, rather than any particular teacher.
Another way of saying this from a mercenary monetary point of view is that I don't think investing more than $250K/year on a K-12 teacher makes sense, though you might be able to make an argument that people who teach teachers might have greater leverage.