Consumer goods giant Procter & Gamble is calling off its planned acquisition of a women’s care brand following a lawsuit that sought to block the deal.