widget: Add a frameclock_connected boolean

... and use it to not connect anything to the frameclock if it isn't

This gets around the problem that the frame clock is disconnected before
GtkWidgetClass.unrealize() is called but the widget is still marked as
realized and the frame clock is available during the vfunc, which makes
calls like gtk_widget_queue_resize() reconnect to the frame clock.

Closes #168
1 job for gtk-3-22 in 7 minutes and 11 seconds (queued for 3 seconds)
Status Job ID Name Coverage
passed #23239