South Korea beat Japan 5-2 to win its first Asian Games gold in the esports fighting game event at Aichi-Nagoya.