WH Smith is in talks to sell its high street arm.