Validate AppData XML during distcheck

Force validation of AppData XML during distcheck, if a recent enough
version of appdata-tools is available.