Five9 reported earnings and an acquisition on Thursday. Here's why now was the right time for the company to acquire Inference Solutions.