The League of Legends maker agrees to settle a 2018 gender discrimination class-action lawsuit