i recently got the baseline surface pro 6 for school but i noticed that whenever i would be running firefox or chrome, it would take up roughly 75% of my memory. i also am taking a ml course in python and mainly used wsl to host my programming environment, which would put my ram constantly around 90% usage. having all of this stuff open and running ml programs did take a toll and i noticed a drop in performance. i didn't mind it at first but over time it started to get annoying. i talked with a cousin about my issue and he recommended that i try looking into a installing linux since it is overall a lighter operating system.
i took his advice and have been running ubuntu 19.10 on my surface pro for the past 3 weeks. i installed a custom linux kernel that allows the touch screen, the pen, and the battery indicator to word as intended. i havent fully tested the pen yet but so far my experience has been solid drawing and should be good for notetaking. my overall experience has been I am able to have countless tabs open and run programs without it eating more than 60% of my memory. but linux does have a bit of a learning curve when it comes to installing and setting up certain programs. thankfully ubuntu does make it easier compared to other distros. i havent tried playing tf2 on it yet but i imagine it won't have any input lag compared to windows.
if you like and know how to use the macos/linux command line and would be fine with maybe voiding your warranty, i recommend you buy a baseline surface pro 7 and install a linux distro on it like ubuntu(since it has good documentation and is easy to use) if you are willing to spend extra money for all features of the device, a good development environment, and not kill your ram. sadly i am not aware of any other solid semi cheap laptops (besides buying secondhand) with touch screens and pens. once you set up your os, install this linux kernel that will get all the features you want on a surface pro to work. ultimately wanting a device with a good touch screen and pen does come at a premium and if you are willing to spend the extra buck, go for it.
tldr: i installed linux on my surface pro and it suits developing and drawing needs and recommend trying it out.
hope this helps, and if you decide to go down this path, i would be happy to help you :)