Welcome to the forum, Windsy! No you won't fail if your heir becomes a YA before the founder gets 50 pts. Theoretically, you have until the heir becomes an elder if female or until just before the heir dies. In that case, though, you might have a hard time getting to 50 pts for the next generation.