Jensen's inequality for a convex vector-valued function on an infinite-dimensional space