Detectives are investigating a fatal crash north of Perth after a young man lost his life in an off-road rollover.