Since on Flatpak your application binary will be under /app/bin, it will not be able to find it under /usr/bin.
You can shorten the Exec part in the desktop file to only the name of the binary (appname). As long as the binary is in a directory found in the PATH environment variable, it can be launched this way.