I am wondering how can they enforce it in just one state.
I can just cross state lines to have a 3rd child.
They're not proposing 'enforcing' it at all, 'just' disincentivising it; which will equally affect people moving into that state regardless of whether they were before they had a third child or not.