Horizon wave-function and the quantum cosmic censorship