Plane that always flies into the wind?
The short answer is no.
All the glider feels is its flight relative to the air. What the ground is doing beneath it is not relevant, the wind could be blowing a hundred kilometers an hour and the glider would just be carried along without feeling a thing. This is why unpowered balloons always drift with the wind.
To detect and respond to ground speed requires a sophisticated control system.