The Avez–Seifert theorem for the relativistic Lorentz force equation