Test of the isotopic and velocity selectivity of a lithium atom interferometer by magnetic dephasing