The effects of rotation on the lithium depletion of G- and K-dwarfs in Messier 35