You dont have to take into account the weak acid equilibrium because it doesn't really matter for the neutralisation reaction. Take acetic acid and NaOH for example. When they react, you wouldn't write the equation with a reversible arrow because it isn't really reversible. This is because the OH ions keep reacting with the H+ ions from the weak acid which DOES EFFECT the equilibrium of the weak acid, and by lcp, it will favour the forward dissociation reaction to keep producing H+ ions since they are removed by the OH ions. Hence the overall reaction is not really reversible. This is the same reason why the titration of equal concs of NaOH with HCl requires the same volume as Acetic acid and NaOH.
So now, given that terribly lengthy and confusing explanation, you don't have to take into account the weak acid just as yet because it' still reaction normally with the NaOH, thus meaning you use limiting reagent to find excess H+ ions over. Since those excess H+ ions are not reacting with any OH ions, then an equilibrium system forms and you use the Ka