When you are legally married and living together you should file as Married Filing Jointly even if one spouse has little or no income.
Unless you itemized your deductions for 2023 on the federal tax return, then the state tax refund you received is not entered as taxable income on the 2024 tax return.