Beijing pulls out of film festival