python: depend on x11 when installing option  with-brewed-tk

Brewed-tk requires x11 libs to be present in order to build the tkinter
library.

Fixes #19099