To reclaim disk space from the wsl docker data disk, execute:

wsl --shutdown
diskpart
select vdisk file="C:\Users\<USER>\AppData\Local\Docker\wsl\data\ext4.vhdx"
attach vdisk readonly
compact vdisk
detach vdisk
exit  

Alternatively (requires Windows Pro and HyperV being enabled):

wsl --shutdown
optimize-vhd -Path "C:\Users\<USER>\AppData\Local\Docker\wsl\data\ext4.vhdx" -Mode full

Check %SYSTEM.License queries. There are queries which provide summary and detailed information on license consumption. You can than create a task which runs every minute and if license consumption exceeds say 80%, store current license users into a separate table with a timestamp. Later you can use this table to analyze usage patterns.