Philip Cowley: Sadiq Khan looks safe, but white, working-class and older voters have turned against him