Suppose, without loss of generality, that AB<AC. We have
∠PQH=90∘−∠QAB=90∘−∠OAB=21∠AOB=∠ACB,
and similarly ∠QPH=∠ABC. Thus triangles ABC and HPQ are similar. Let Ω and ω be the circumcircles of ABC and HPQ, respectively.
Since
∠AHP=90∘−∠HAC=∠ACB=∠HPQ,
line AH is tangent to ω.
Let T be the center of ω and let lines AT and BC meet at M. We will take advantage of the similarity between ABC and HPQ and the fact that AH is tangent to ω at H, with A on line PQ. Consider the corresponding tangent AS to Ω, with S∈BC. Then S and A correspond to each other in △ABC∼△HPQ, and therefore
∠OSM=∠OAT=∠OAM.
Hence quadrilateral SAOM are cyclic, and since the tangent line AS is perpendicular to AO, ∠OMS=180∘−∠OAS=90∘. This means that M is the orthogonal projection of O onto BC, which is its midpoint. So T lies on median AM of triangle ABC.