Quantum-transport simulations with the Wigner-function formalism: Failure of conventional boundary-condition schemes