Free school cycling lessons to be ended in North Yorkshire