Ant Financial, the company that operates Alipay, is buying MoneyGram for $880 million, its boldest move yet in a series of partnerships and investments that signal an international ambition.