The lawsuit claims the retailer’s LGBTQ PRIDE campaign hurt the state’s retirement fund, which owns Target stock.