That's the distorted popular version. The more common scientific version, AFAICT, is that they evolved in certain other upright primates to resemble swellings in the genital/buttock region of non-upright forbears and provide similar sexual signalling.
> Human breasts then had to increase in size in proportion with the nutritional requirements of those infant brains, which had to grow faster than previously.
This speculation would make sense if there was a relation between the quantity of fatty tissue which determines breast size and milk production. But, there isn't, so...
My theory still works if initially, female pre-humans with larger milk glands were able to better feed their young and so had higher survival rates, while male pre-humans evolved to prefer larger milk glands. After a point, runaway sexual selection caused breast size to increase independently from the pressure on milk production.
I would guess that the reason they're large and the reason they're permanent are related. One causal chain might be (permanent breasts -> males like breasts -> breasts grow), but others are possible. I suppose it might be that non-permanent breasts wouldn't be able to grow to the size they need to be, for whatever reason they need to be that size?
(In case it wasn't clear, I have no expertise in this area, and you shouldn't listen to what I have to say.)
One interesting possibility is that breast tissue influences maternal drive. A combination of neural activity and hormone secretion is possible and would do the trick nicely.
However, humans do have much larger brains than other primates, and those brains grow very fast immediately after birth. My theory is that after the advent of cooking, human brains were able to increase in size thanks to the increased dietary energy density of our new diet. Human breasts then had to increase in size in proportion with the nutritional requirements of those infant brains, which had to grow faster than previously.