Extremizers for Fourier restriction on hyperboloids