This is hard to say.
Some do, some don't.
Some may have a predisposition to it, genetically, even if both parents have good legs.
Others will end up permanently off for the only fact that they had poorish nutrition and bad farrier work as youngsters, or no farrier work at all.
My advice is to have a good, well-trained farrier evaluate your weanie, and trim often. Now if either parent has this defect as well, then this would let that horse out of the breeding shed depending on the severity and reason for the defect.
TYPICALLY, it should abate as they grow into themselves, and be gone by long yearling age. As was mentioned, good nutrition is key, as is a good worming program.
I've seen some weanlings with the huge, bloated belly that so many get when they aren't quite getting the right feed, and slack muscular development over the topline that accompanies this condition (I see so many times people saying these are fat and so the feed is reduced, another mistake) improve the fastest with a mere change in feeding, though the hooves DO need to be addressed anyway.
Growing foals need very frequent trims, especially if something appears off for whatever reason.
Hope this helps, I know it's kind of a "non" answer, but in my observation, at least half of them grow right out of or through this phase provided they were relatively straight at birth, and both parents have good hind leg angles.
Liz M.