Ivan Toney scored his second goal of the game as Brentford retake the lead against Sheffield Wednesday.