libnotificationmanager: send `NotificationClosed` DBus signal on clear
To ensure all notifications (e.g. resident) are closed properly when pressing the clear button, explicitly close them before removing them from the history to prevent potential memory leaks.