Unfortunately, including the X-Unsent header in .eml files isn't a reliable way to mark emails as drafts in newer versions of Outlook, including those on Windows 11.
You may try:
Compose your email in Outlook.
Go to "File" and select "Save As."
Choose the file format "Outlook Message Format (*.eml)" from the "Save as type" dropdown.
Select a location to save the .eml file.