Measuring masses in low mass X-ray binaries via X-ray spectroscopy: the case of MXB 1659-298