Efficient measurement of neutral-atom qubits with matched filters