Brooks Koepka tuned up for his PGA Championship defence with a two-shot win at LIV Golf Singapore on Sunday.