Wilson loop. Regge trajectory, and hadron masses in a Yang-Mills theory from semiclassical strings