describe-variable retrieves the documentation of a variable, it doesn't do anything with the value of the variable. You just want to test to see if the value of the variable is eq to something.
(defun cc/toggle-line-numbering ()
"Toggle line numbering between absolute and relative."
(if (eq display-line-numbers 'relative)