Just to add a data point: Quito‘s airport is just 2400 m. If you want to visit the city, you‘d obviously have to travel up to 2800 m, but if you are just connecting (e.g. to Galapagos), you can also stay at that lower level. The Wyndham airport hotel is very good - perhaps one of the best airport hotels I‘ve ever seen.