There’s a lot to unpack here and I totally sympathize with your frustration and situation.
But you must, must must clarify your immigration options before you go down the rabbit hole of academia. Unless you have viable work options in your home country (or somewhere else where you can legally work) the clock is ticking on you here (and your wife).