How to enable Enable Milestone Feed Items,Show the time remaining in actual hours, not business hours, and Enable stopped time and actual elapsed time in scratch org through metadata file or configuration
Look for Entitlement Settings in the Config
Feature Settings -> Service-> Entitlement Management -> Entitlement Settings
You should check the checkbox Enable Entitlement Management and Save.
After that, you will have the option to change the Entitlement config.
<types> <members>Entitlement</members> <name>Settings</name> </types>