Shareholders claim the sportswear giant knew about the rapper's behaviour before it cut ties in 2022.