Winona Ryder and Michael Keaton in Tim Burton’s “Beetlejuice.” A new musical is to have its first production at the National Theater in Washington in October.