Ultra-marathons and ultra-endurance events are very much less of a young person sport, and we are still trying to figure out exactly why performance can keep increasing into the 40s and even early 50s. Marathoning is a considerably younger peak though, usually thought to be 20-35, so depends on whether you think that is "young" or not :)
Look at the following table that has been compiled about how much contribution from the body's aerobic and anaerobic systems are used for various race distances:
llamataboot|6 years ago
canucker2016|6 years ago
From https://www.runnersworld.com/advanced/a20805305/owners-manua...
Marathon running is mostly aerobic vs running 1500m or even shorter distances like 800m or 400m.So any loss of speed as marathoners get older won't be catastrophic versus competing in shorter races.