Depends on flight time, of course, but if it's a few hours, get the heavy-duty night diaper, change at airport, and hope for no
#2s .
If that's not an option, like others have said: open lav door (if anyone's awkward about it, they can go sit down and wait until you're done), or standing change.