Lorentzian geometry for detecting qubit entanglement