Labour’s deputy leader appears to admit party has lost Gorton and Denton by-election