Linear stability of f(R, ϕ, X) thick branes: tensor perturbations