A small mail-order pharmacy, which ships presorted packets of medicines to its customers, is waging a David-versus-Goliath battle with Express Scripts, the nation’s largest pharmacy benefits manager.