If the "wrong bank account" is on your Xero dashboard, simply reconcile the transaction as normal (from the wrong bank account). You can transfer funds later if you like, but it's not needed from an accounting perspective.
If the "wrong bank account" isn't showing in Xero (perhaps it's your personal bank account), our blog - Spent money from a personal bank account? will definitely help.