Neither, strictly. Kirby is a Kirby — the species is described as sexless, so the question does not really apply.
In practice, English-language Nintendo material and the games' dialogue lean on "he" and "him" as a matter of convenience rather than biology, which is why the character reads as male to most players. Japanese sources tend to avoid the issue altogether.
It is one of those rare cases where the honest answer is that the character sits outside the categories being asked about, and the pink puffball is entirely unbothered by the debate.