The evolution of lithium depletion in young open clusters: NGC 6475