Warner Bros. Chief Quits Amid Inquiry Into Whether He Helped Actress Get Roles