But if you had bought the 5 when the 6 was new, you'd be stuck at iOS 10, which is missing several security updates, two iterations of new emojis, and many apps refusing to install or update by now.
Only when you solely rely on the vendor for updates. While this is the only option on iOS devices this is not the case for Android where several third-party distributions can be used to keep older devices up to date. Some of these offer OTA updates which makes them usable for 'normal' users, i.e. those who want to use the device but are not that keen (or knowledgeable enough) to tinker with them.
Public stats on android usage per version contradict your theory. In overwhelming huge majority, those phones never get updated, ever. Most people don’t search the web for third party distribution. That’s just what the data shows us.
It doesn't contradict the theory. People can update to a later OS if they want to by visiting XDA. Just because they don't doesn't mean it's not possible.
That depends on whether the user had enough foresight to check on XDA whether the phone they're going to purchase is supported on XDA. Not all devices are, and most cheaper ones definitely aren't.