Non-Markovian intracellular transport with sub-diffusion and run-length dependent detachment rate