Three-dimensional memory structure with multi-component contact via structure and method of making thereof