Allow disabling media key handling via preferences

In some cases, when the media keys are already handled by mpDris2,
indimpc, or similar daemons, having Sonata do the same causes conflicts.