How do I convert a private key in hex to a Segwit private key expected by Electrum?
Import it by specifying address type as prefix:
SCRIPT TYPE:COMPRESSED WIF
In this example it will be p2wpkh:L48nE2detzZwEzdbw5dYTuNJy9wDqLVY92DwS7Br8NwgD6S8NiyT

You will see the address: bc1qzlcz9ckzggu8vzs2rvrsa2j9dh6w3wg4atezy6 added in wallet