I found no way to query Wayland's DPMS state so I wrote this script.
Currently it works only on KDE.
A wayland script to query and set DPMS status