Brentford came from behind to defeat Sheffield Wednesday 2-1 in the U18 Professional Development League Two South despite playing the entire second-half with 10 men.