China is scheduled to launch a human-rated spacecraft the size of a bus Thursday, paving the way for a month-long visit by two astronauts in October and nudging the country’s space program closer to building a large research complex in orbit by the early 2020s.