A convicted sex offender who escaped from a Texas prison has been caught in Houston after a week on the run.