Border Patrol agents nab convited sex offender, wanted man