Pairing in dense lithium