Generalized two-point tree-level amplitude j f → j′ f′ in a magnetized medium