Boundedness of solutions and stability of certain second-order difference equation with quadratic term