Also, just because people have “switched” to wireless doesn’t mean that they don’t have a pair of old wired headphones still lying around somewhere, unused, eventually turning into e-waste.
Another use-case for the headphone jack: I use it to connect my phone to various audio devices, e. g. E-drums for practising playback or the practice room PA tolisten to demos. Nearly all professional equipment uses wired connections.