I never use other people's computers (think about where their fingers have been), so this would never be a concern for me. I use an Ergodox and it's a little rough switching to the laptop (how can people hold their hands so close together?), but I can do it. I still use QWERTY though, with a bunch of local tweaks for non-letter characters.
I would say that if you type fast enough for as long as you desire without pain, the cost of learning a new keyboard layout is a questionable investment. But, if you have hand pain, you should probably work on resolving that immediately, or pain may become a disability. (I followed my own advice, my right pinky used to hurt after a day of work. Moving all the important symbols away from that pinky key, probably most notably backspace, cleared everything up. Many more years of typing stuff into a computer in my future.)
1) Home desktop
2) Work laptop (docked in my office)
3) Work laptop (actual keyboard)
4) Personal laptop
There's nothing I could do about either laptop. I could have spent another $300 to get another keyboardio for my office, but that seemed like a waste of money when I wasn't sure about it.
Though... how often are you using other peoples keyboards? I hear this complaint a lot and I wonder about it.