Louis and Margaret are more likely to have more children as the years go by and likely a son or two, who will inevitably be named Louis, Philip, or Charles, provided Louis doesn't die on schedule. If little Joan is his heir in the end, her OTL husband Philip, or even his older brother Charles, would be thoroughly acceptable to the French nobility, both being great-grandchildren of Philip III like Joan herself.
However, if Joan's uncles, the OTL Philip V and Charles IV, end up having sons of their own, the French could still face a succession war if either of those two decide they have precedence due to proximity of blood, and they may have more backing overall if that were the case.