Welcome to Apple Support Communities.
It's my understanding that the side button on your iPhone X appears to have a delay when pressed. I have some suggestions that may help with this. First, make sure to always have a current backup: How to back up your iPhone, iPad, and iPod touch Keep your iPhone up-to-date, the latest iOS is 11.2.1: Update the iOS on your iPhone, iPad, or iPod touch
I would force restart your iPhone X: Restart your iPhone, iPad, or iPod touch I would also check the settings for the click speed of the side button. Go to Settings > General > Accessibility > Side Button. Adjust these settings and see if that helps.
Let me know if this helps.
Thank you for using Apple Support Communities.
Cheers!

