A study of cylindrically symmetric solutions in $$f(R, \phi , X)$$ theory of gravity