On the Equivalence of Contraction and Koopman Approaches for Nonlinear Stability and Control