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)