XWIKI-9866: When "only local users are available" in a subwiki, it should not be possible to add global users.

* Disable the membership type input in the user section of the administration of a subwiki when the global users are not enabled.
Merge branch 'master' of github.com:xwiki/xwiki-platform