High-street mogul George Davies has quit store chain Marks & Spencer just hours after the chain reported an upturn in trading.