Globally trace-positive noncommutative polynomials and the unbounded tracial moment problem