Character sums of composite moduli and hybrid subconvexity