Find dx on the PATH instead of assuming a specific install layout

This should fix dx-build-app --run for pypi and Debian installations.