Dynamical systems analysis of a k -essence model