“Batgirl,” the superhero movie that the public will never see, had such weak commercial prospects that executives at Warner Bros. Discovery decided it was worth more to the company as a tax write-off than as a theatrical release or a direct-to-streaming title.