Sorry to disappoint you, but this is not about surfactants. RegardYou can regard the starch particles in the boiling water as some kind of impurity, dirt. Dirt always accumulates at phase boundaries, because this saves surface energy. If there's a surface already, might als well put the dirt there, you only need half as much additional surface in your main phases then. (Hence the use of surfactants as detergents: The surface tension/energy is lowered so much that the dirt can leave the surfaces.)
So the interfaces in the bubbles are full of starch, which stabilises them (see other answer, H-Bonds etc.). They don't mind about the steel or glass surface of your pot and lid, because theythose are wet and full of starch, too. What kills themthe bubbles is cold and dry air, which they don't see before they've raised the lid and spilled all over.