Kinetic simulations of sheared flow stabilization in high-temperature Z-pinch plasmas