Extracting scattering amplitudes for arbitrary two-particle systems with one-particle left-hand cuts via lattice QCD