Democratic legislators in Virginia have dramatically reshaped the state in two months, sweeping aside many of the state’s old business-friendly and socially conservative laws and replacing them with a broad, progressive policy agenda. Democrats had not had full control of the legislature for more than two decades, and their years of pent-up frustrations yielded one of the most consequential sessions in Virginia’s history.