Tech leaders themselves may be the primary drivers of a poor work environment, ultimately keeping even top talents from performing at their best.