Rory McIlroy capped off a tumultuous year by winning the DP World Tour Championship and his sixth title as Europe’s No. 1 player.