Yes, only your state refund is potentially taxable. Since you know that your wife's refund is not taxable (because she took the standard deduction for 2022), don't enter her refund at all. It's not necessary to enter the 1099-G if it's not taxable. Enter only your state refund, and the information from only your 2022 federal tax return to correctly calculate the taxable amount.