Just a guess, I'm sure they arrived at it purely through trial and error, and were happy to find that it's also a frequency that will be minimally annoying if a headphone happens to be plugged in when the tone is played.
In other words, if you've been to a couple of rock concerts with no earplugs then all bets are off.
Also worth noting that most speakers play 0.5dB below the actual signal at 20000Hz, where anything above that usually isn't specified. So you need specialist audio gear or some measuring equipment to actually try to listen to really high frequencies.
Headphone jacks tend to have a capacitor in-line with the output terminals to get rid of any DC bias -- this can cause problems like battery drain, lots of noise when you plug headphones in, and damage to the driver coil of headphones -- not good!
I like to think of a capacitor like a shock absorber, with the length of the shock absorber being like the voltage it's currently storing. If you push on one end of a shock absorber, the larger the force (current), the larger the rate of change of voltage (length), so this analogy might be useful.
Imagine holding on to one end of the shock absorber while someone else tries to move it back an forth at a given frequency. If they try to move it back and forth slowly, the maximum force (current) is going to be low, and so the total energy will be low and you won't get shaken much -- the shock absorber will just change length (voltage).
If they try to move it back and forth quickly, the force (current) will be much higher, and so you can extract a lot more energy from it.
I believe it's the same reason portable devices have poor bass response.
Can someone here explain the functional significance of the 22kHz tone? It would be more intuitive if they'd said "an audio signal driven at the headphone port's maximum volume." Why would there be more harvestable energy in a max-volume 22kHz tone than a max-volume 11kHz tone? Or might this be to avoid accidentally blasting the user with a super loud output tone (i.e. in a more audible range) from the device speaker?