(b) An offense committed in another jurisdiction that, if committed in this State, would constitute lewdness with a child pursuant to this section or any other sexual offense against a child,
is guilty of a category A felony and shall be punished by imprisonment in the state prison for life without the possibility of parole.