This conversion was done with the help of gtk4-builder-tool.
No need to manually create a builder and pass the resource to it, just follow the conventions and have GtkApplication do it for us.