The Joides Resolution has contributed to our understanding of climate crisis, the origin of life, earthquakes and eruptions. But funding cuts mean it may have sailed its last expedition