Scotty James produced what he described as "one of the best moments of my competitive career" to clinch his 10th World Cup victory.