I found something buried deep in Apples documentation. The Route button has been removed from iOS17 and replaced with a new component dedicated to select remote audio destinations.
I will see if I can use the new component to switch routes in iOS17. If it works, it will be part of the next update.