Prime Minister Anthony Albanese was heckled by a member of the public during a visit to the Illawarra.