Mastercard posted strong quarterly results, helped by a rebound in travel drove growth.