Existence and uniqueness of solutions of the Koopman–von Neumann equation on bounded domains