You can't. Not within the phone. It's set up to be the same as any other inexpensive, easy to use camera. No fiddling with settings. Point - Shoot - Image.
A bit more info from the same site I got the italicized information above.
Because the iPhone's lens apertures are fixed (f/2.4 for the telephoto lens on the iPhone X, and f/1.8 for the wide-angle lens), your iPhone automatically tweaks ISO and shutter speed whenever you shoot an image with the Camera app to try and get you the best image possible. (If you use a third-party manual camera app, you'll be able to adjust these values manually.)
So, the iPhone X does have the ability to adjust shutter speed, but you normally have no control over it. I haven't looked into any of the manual control apps suggested by the site, as I underlined above. I would imagine they're a separate app that takes over control of the camera, rather than using the iOS supplied camera app. I can't say how well any of these would work since I've never tried one on my iPhone 6s, or have even looked one up on the App Store.
Up to you if you want to experiment to see if you can get better control over the camera. Particularly, forcing a higher shutter speed when using a flash.