Display layer properties in n-panel of dopesheet (grease pencil mode). Draw code is moved inside separate classes then inherit them in actual panel drawing class to avoid copy pasting the code in two places (in layer properties panel and dopesheet side panel). Part of #110056 Pull Request: https://projects.blender.org/blender/blender/pulls/120606