BEIJING — President Hu Jintao gave his final speech as head of China’s Communist Party on Wednesday, paving the way for a new generation of leaders that will be unveiled Thursday morning. The new leadership lineup — a once-a-decade occurrence — will end months of internal rivalry, secrecy and speculation and will determine the country’s future at a time of economic worries, increased regional tensions and widespread clamor for reform.