I found a relatively simple solution when going via the app list:

When opening the context menu for the app, the in-store version has the 'review' menu item while the sideloaded version doesn't.