GoodRx is trying to help pharmacies compete in a digital age, where they already face pressure on their margins.