Composer in version ^2.1 (June 2021) offers a way:
InstalledVersions::getInstallPath('axi/mycalendar');
This seems cleaner than using a hardlinked /vendor or parsing the composer.json file.