Bushfires in Western Australia have destroyed 30 homes and forced local residents to flee the Margaret River area.