While it's not a solution, for the time being, I'm sure it's annoying having the X button hidden behind the taskbar.
If you go into your budgie settings -> Windows you can switch the buttons from right to left. That will at least get them out from behind your taskbar for the moment. Maybe someone else will have a solution, or maybe it's a bug/technical issue that needs to be fixed and updated.
Good luck!