To be fair isn't flatpak encapsulating the user space portion of mesa, similar to any other chroot? In which case the apples-to-apples comparison would be shipping your own mesa alongside your app.
Which now has me wondering, is the common wisdom wrong? Could I actually statically link opengl if I went to enough trouble?