The Account Balance field for the selected account on the payment entry page also should appears on the Journal Entry page.
That for, you have to write logic on the client and server side.
Use custom client script and use the default get_account_balances
method for frappe.call to achieve this functionality.