Hackathons are competitions though. People compete to write the best code in the shortest amount of time. If certain groups of people are uncomfortable competing, then they miss out.
Should we do more to encourage women to compete? Seems reasonable enough. But if the suggestion is we disallow competition completely, that I can't agree with.