
The answer is "either direction."
The value of Q calculated from the area above the neutral axis must be exactly the same as Q calculated from the area below the neutral axis. (If this were not true, the beam would not be in equilibrium internally in the x direction.)
Generally, it makes sense to pick the direction that results in the easier calculation. In this example, Q will be calculated from the area below the neutral axis.