Is the $J^P=2^-$ assignment for the $X(3872)$ compatible with the radiative transition data?