An Israeli court has sentenced a Jewish extremist to four years in prison for torching a famous Holy Land church in 2015.