Hahn wins third straight in Padres victory