dialer-button: Add measure() method

This mimicks the widget size measurement from GTK+ 4, it will simplify
the transition to GTK+ 4.
1 job for prepare-gtk4 in 2 minutes and 57 seconds