Wright was not in custody pursuant to the judgement of a state court, where he had served his state sentence and was convicted in a federal court for violating the sex offender registry requirement.