The code is going to that old email because it's still the only contact method saved on the Microsoft account, and Windows won't let you move past that screen until the account can be verified another way. The good news is the PIN itself is only stored on the laptop, so the account is fine.
Here are some suggestions you can try:
First, check whether you're still signed in to that Microsoft account anywhere else, like Outlook or the Authenticator app on your phone, or a browser on another computer. If you are, go to account.microsoft.com/security, pick Manage how I sign in, add your current email or phone number, then remove the dead address. Since you're already signed in there, no code is needed. Back on the laptop, click Set up my PIN again and the code will now go to the new contact.
If that's not an option, try Safe Mode with Networking. Windows Hello doesn't load in Safe Mode, so you get the regular password box instead of the PIN. Turn the laptop off by holding the power button while it's starting up, do that three times, and it should open the blue recovery screen. Choose Troubleshoot, Advanced options, Startup Settings, Restart, then press 5. Sign in with your Microsoft account password (not the PIN). Once you're in, open Settings, Accounts, Sign-in options, turn off "only allow Windows Hello sign-in for Microsoft accounts," then remove and set up the PIN again. If it asks for a BitLocker recovery key, that's at account.microsoft.com/devices/recoverykey from any other device.
Last thing, if anyone else has an account on that laptop, sign in with theirs and they can help you fix the account from Settings.