Movie dropped by Amazon Studios after #MeToo movement brought reappraisal of the director due to child molestation allegations