Bayesian optimisation for fast approximate inference in state-space models with intractable likelihoods