On trace-convex noncommutative polynomials