It's highly unlikely that it's Maori in origin, it doesn't resemble any other Maori name formation I've ever seen. Far more probable is that it's a post-colonial New Zealander coinage.
But I agree that, apart from within Wales itself, there doesn't seem to have ever been any widespread knowledge about -wyn being masculine.
www.archaeochrisell.blogspot.com