"One-way" fuel line valve..?

The fuel pump itself—the original mechanical one—already contains the valve you have in mind, in the form of the fuel pump's output check valve. Sometimes they grow leaky with age (and these days, with the poor quality of available fuel pump, sometimes they're leaky from new).

An electric fuel pump requires thoughtful installation, or it's unsafe; see here.