Fixes #5991: Deprecates passing null to ElggRelationship constructor

Also adds private API function to fetch a relationship row