Alex Brosque scored a dramatic late winner, as Sydney FC came from two goals down to beat Western Sydney Wanderers 3-2 in the A-League.