Energy bounds in f(R, ϕ) gravity with anisotropic backgrounds