First-passage time of run-and-tumble particles