Jamal Lowe hit a last-gasp winner for Sheffield Wednesday as they came from behind to beat Derby County 2-1 at Pride Park.