Actual Window Manager, among other things, allows you to restrict the size and position for your elements. Believe me, I tried to solve a very similar problem for years (remember window position and size accross three screens), and this is the closest I got to it. Besides, it's an awesome app, allows you to control multiple aspects of the windows GUI, and supports profiles, which would allow you to accomplish your goal.
Specifically, once you install the app, double click the tray icon, then under window settings, right click specific settings and select Add window rule. then on the right pane go to the target window tab and select the app you want to control. After that, you can control its position under position -> restrict placement, and its size unger Size -> fix minimal size and fix maximal size.
After you've finished configuring it, right click the tray icon and select desktop profiles -> configure.
You want to end up with one profile with position/size rules for fullHD and another for when your laptop is undocked.