Black hole perturbations in higher-order scalar–tensor theories: initial value problem and dynamical stability