Issues with Flatpak on Ubuntu 22.04 LTS

This part looks correct and should work on 22.04.

Is your goal only to install the https://flathub.org/apps/io.github.benini.scid flatpak package from flathub?

If so, the Terminal command to do that is

flatpak install flathub io.github.benini.scid

No need to specifically install the runtime and SDK. When you install a flatpak package, flatpak will take care of making sure the correct version(s) of the correct runtime(s) are installed along with it.

flatpak-builder is not required for normal installing a flatpak package from flathub - it’s for building flatpak packages from source. Based on the permissions of the SCID flatpak, I wouldn’t expect flatpak-builder to be required for using this app either