Two things that I’ve used historically to fight vapor lock. Best is a return line back to the gas tank. That way when the needle seats and the fuel pump keeps pumping it bypasses back to the gas tank. Secondly, you can go old-school and put clothes pins on the metal line to help dissipate the heat and see if it helps. Back in the day used to see fuel lines with literally dozens.