[applets/digitalclock] Port to declarative type registration

Reason for the change

It uses the old way to do QML modules

Test plan

Use the clock applet

Screenshots or screen recordings

Bugs fixed

Merge request reports

Loading