If you search the internet for "attempting to reference a deleted function" you'll quickly learn, that this means you're trying to use a deleted copy constructor, which in turn means that you're trying to copy a RenderWindow, which is explicitly prohibited, because copying a window doesn't "physically" make sense (you can't have a copy of a window).
You constructor a window locally in the init_window and return a reference to it, but the local variable ceases to exist as soon as you leave the function, thus the reference is also invalid.
If you're using C++17, you could return by-value and depend on guaranteed RVO / copy elision.