The payment is not lost. Since there is not a refund listed on the amended return, it will not show anything being applied to next year. The $5,200 you owe includes the $2,000 that is applied to next year.
You could reduce your tax withheld or estimated taxes paid in during 2022 to account for the taxes you have prepaid.