A sliding weight in a plane is not a new idea. It has been used many times in the past. Although I have never seen it made adjustable in flight, it wouldn't be all that hard.
Possibly, like you mentioned, a screw jack and a sail winch servo.
You don't need a lot of weight,.
Now get to work on it...............