dwm: add optional dependency to dmenu

Closes #30363.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>