On the Obata Theorem in a weighted Sasakian manifold