Stability conditions and positivity of invariants of fibrations