Quark confinement in the infinite-momentum frame