/usr/bin/mailq is in sendmail-bin 8.14.4-4.1ubuntu1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/bin/../share/sendmail/mailq
/usr/bin/../share/sendmail/mailq