Hairy ball theorem applies to even-dimensional spheres (the ordinary sphere is the 2D surface of the 3D solid), but a cube in four-dimensional space is a three-dimensional surface, so it doesn't apply.
This is a question about graph theory, not topology; it's asking for a Hamiltonian path on the surface of 4D cube (where faces are vertices, which is different than the normal polytope graph).