Hi Snake,
Can you tell if there's any other signs of life in the phone, like vibrating when you flick the mute switch or maybe when you plug it in? Those sort of reactions would say that the phone is basically okay but in need of a new screen, because that's what it sounds like based on your description.
Follow the step by step directions in the screen replacement guide to fix the problem.
iPhone XS Screen Replacement - iFixit Repair Guide
The good news is that the X series phones are old enough now that the price for even the soft OLED screens have dropped to the point of being reasonably affordable. You can support iFixit's repair efforts by purchasing one from them, or you can save a lot by checking around at sites like Amazon, eBay and AliExpress, among others.
There are a couple of caveats you should be aware of though. First, there's a piece of data called the MtSN that needs to be copied from the old screen to the replacement in order to reenable the True Tone function. This requires a device programmer such as the JC V1SE or the QianLi iCopy. If you're willing to live without True Tone, then you don't need to do this. Note that the MtSN can also be read from the phone so it can be restored at some point in the future as well.
Secondly, Apple has continued their repair-antagonistic practices by pairing the screen to the logic board. That means you will get a pop-up warning every time you boot to the effect that the screen may not be a genuine Apple screen - even if it is a genuine Apple screen. After a couple of weeks that warning will go away, but you'll still have the badge that appears on the Setup app and the warning that will show up in the Display settings. However, the display will work correctly other than the bogus warning.