A 20-year-old man in Western Australia faces serious charges for allegedly planning a racially motivated mass casualty attack targeting the Muslim community.