Palestinian youth gets life behind bars for 2017 attack