This converts the public uiLayoutPanelPropWithBoolHeader function to an object oriented API (`uiLayout::panel_prop_with_bool_header`), following similar changes to the uiLayout API. Pull Request: https://projects.blender.org/blender/blender/pulls/138523