You're going to have to find the line in the Librewolf source code where it sets a file extension and/or MIME type filter on the "Save Page" dialog, edit it to remove the filter, recompile, and optionally create a bugzilla issue and patch to try to get your change adopted for everybody instead of just you.
This isn't a KDE thing, BTW; it's a Librewolf (or upstream Firefox) thing. The web browser knows it's trying to save a web page, so the devs programmed it to force the standard, "correct" extension. (You could try to patch it at the KFileDialog level instead of the Librewolf level as described above, but then you'd lose filtering systemwide.)
More realistically, your best bet is to save it with the .html at the end, and then just rename the file to what you actually want afterwards.

