"Query duration" is the time reported by Elasticsearch that it took to process the query.
"Request duration" is the time measured by Kibana to go from request to response. That time includes serializing the request data into JSON, sending the request over the network, deserializing the JSON on the Elasticsearch server, processing the query, serializing the response into JSON, sending the response over the network, and deserializing the response on the client.