BUG: Fix missing NULL check in lexsort

When Getitem of the lexsort sequence argument failed
this was not checked.

Closes gh-4123
Merge pull request #4124 from seberg/issue-4123

BUG: Fix missing NULL check in lexsort