x11/hyprshutdown: Unbreak build on -current and 15/stable
Add missing #include <optional> for std::optional and std::nullopt.
Reported by: Adam Retter (via private email)
MFH: 2026Q3
(cherry picked from commit b7ae4aceafcac9d95ae104916a1755c1a0e22963)