The Puerto Rican superstar prevailed last month in a lawsuit over “Enséñame a Bailar,” from his 2022 album