Fixed #23396 -- Ensured ValueQuerySets are not checked by check_related_objects

Renamed method for checking compatilibity

Renamed method from check_query_object_type to is_compatible_query_object_type
to avoid conflict with Query.check_query_object_type. The notation is
more appropriate given the nature of the method returning a Boolean.

Added is_compatible_query_object_type to basic.tests.ManagerTest.QUERYSET_PROXY_METHODS

Ensured QuerySet.is_compatible_query_object_type isn't copied to Manager

Removed ticket reference, refactored logic in QuerySet.is_compatible_query_object_type

Removed intermediate variable from test

Added ticket reference in test comment

Fixed Test