Most perfect information games are _extremely_ memorization biased. A huge part of gaining the initial skill to compete at a decent level is memorizing thousands of positions, openings, and mistakes by other players. It's only after that that the real play begins.
So it's no surprise that older people who don't have the time to invest into this cannot reach the upper echelons. At 25, over a third of your intellectual life is already gone. The raw time you have to learn the basics and experiment at the upper levels is cut in a third.
Bill Joy himself only started programming in graduate school.
However, that doesn't mean that the mind of people over 30 doesn't work as well. It may just be that people have different personality types, some people don't care that much about revolutionizing the world, and those who do care do not require all that long to do it.
So by age 30 or so, you're left with two self-selected groups: those who passionately wished to change the world and those who focused on some other priority in life instead.
Look at current nobel prize winners in physics for example. Many of them weren't young when they did their most important work. I read an article about this some time ago, but I wasn't able to find it at the moment.
So I think, there isn't enough data to conclude that someone older can't be a grandmaster. Though, most people won't be a grandmaster either way, so there aren't that many data points to go off of.
And who knows how the prevailing wisdom that you can't teach an old dog new tricks affected the number of people who chose to try to become a grandmaster? Maybe your priorities change when you are older and it has nothing or less to do with raw ability?
That means you're not asking whether a 25 year old can achieve a static goal(e.g. read 50 books), but you're asking them to successfully compete with everyone else, which includes other 25 year olds but with 15+ years of experience.
Yes you can learn things as you get older but the bar for your achievements gets lower and lower as you age.
Let's take chess: There are no cases of a novice starting to learn at the age of 25 and becoming a grandmaster. You need to do some of that deliberate practice at an early age. I suspect the case is the same for math,programming, violin playing etc.
Interesting thread on the topic is here: https://www.chess.com/forum/view/general/who-is-the-oldest-p...
It is not just the case of kids having more time to dedicate to a skill/hobby because there are people of independent means who pursue chess at an adult age and still fail to advance.
As you get older your ability to truly master a skill declines.
That does not mean that you can't become a productive programmer at age 60 or 70.
It just means that you will not achieve Bill Joy || Fabrice Bellard || John Carmack levels of proficiency and I suppose that is ok. :)