Jorge Lorenzo overcame the Hondas to take victory in a hard-fought MotoGP season-opener in Qatar.