Scarlett Johansson and Walt Disney Studios reached an agreement over streaming pay for the superhero film “Black Widow.”