Always safe to have a printed copy of anything but from experience, showing my vaccine certificate on my phone was fine and they didn't give it more than a cursory glance.
What did the plane you caught from Japan say on it's side? At the moment, United don't fly to Thailand, they use code-sharing flights with ANA and Air Japan.