Nonequilibrium chemical potential in a two-dimensional electron gas in the quantum-Hall-effect regime