To make this work, I had to add a new rna callback to get the default value for an enum property at run-time. The same exists for other property types like float and bool already. Pull Request: https://projects.blender.org/blender/blender/pulls/140050