Dynamical coupling between a nuclear spin ensemble and electromechanical phonons