Oscar-winning director cannot be extradited to the US for a 40-year-old case, a Polish court has ruled