Algebraic Integrability of Planar Polynomial Vector Fields by Extension to Hirzebruch Surfaces