On the Markov sequence problem for Jacobi polynomials