BUG: Fix missing NULL check in lexsort

When Getitem of the lexsort sequence argument failed
this was not checked.

Closes gh-4123

-

Very simple fix.