Hello,
One possible solution that comes to mind is to increase the thickness (little bit) of the Line heat source as shown in the image. Then, you can assign a named selection to it and apply a heat flux boundary condition.
If anyone is having any other suggestions, feel free to share them.