[Query] Release edge handle when stopping the playing
Problem: When state changes from PAUSED to NULL,the tensor_query_serversrc cannot switch to NULL state because it keeps waiting for data pop.
Solution: Change the creation and destruction of server data and edge handle to be managed according to the state.
READY->PAUSED: Create query server common data
PAUSED->PLAYING: Create nns-edge handle
PLAYING->PAUSED: Rlease nns-edge handle
PAUSED->READY: Descruct qeury server common data
Releated issue: https://github.com/nnstreamer/api/issues/487
Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>