I don’t know about KDE in particular, but I’ve had problems with USB mice waking various Ubuntu systems when they’re not directly connected (i.e. there’s a hub or KVM in between it and the computer). The workaround I used for that was to remove the mouse input (e.g. by carefully pressing a physical button on the KVM) – which was good enough for me – but I think there is a programmatic way to block particular classes of input from waking the system if some device is waking your system inappropriately.