Connor Bedard scored the game-winning goal with less than a minute remaining and also picked up an assist as the Chicago Blackhawks beat the New York Islanders 5-3.