Hyundai Motor posted record earnings for last year on Thursday as it increased market share in China and the US, the word’s two biggest auto markets, on the back of the weaker won and its strong compact car line-up. The South Korean group was one of few carmakers to have a good 2009 as the global economic crisis increased demand for smaller, fuel-efficient vehicles, while its rivals such as General Motors…