This makes flatpak_remote_state_lookup_cache() return the metadata from the actual FlatpakRemoteState rather than duplicating it. All callers are updated to not free anymore and to strdup if needed. Closes: #1594 Approved by: alexlarsson