The World Surf League will become the first US-based global sports league to have equal pay for male and female athletes in 2019.