Make the KDocTools dependency optional

I am cross-compiling dolphin and haven't build KDocTools. Since it's only
needed for the handbook we can make the dependency optional.
1 job for master in 4 minutes and 41 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Build
passed linux kf5-qt5 qt5.15 #116841

00:04:41

52.0%