Get rid of useless pointer variables

Just cast PyObject * as internal python object type for
retrieval and setting of libwebsock_client_state member.