Your model is as follows:
$$y_{ij} = \beta_0 + \beta_1 X^{(1)}_{ij} + \beta_2 X^{(2)}_{ij} + b_j + \epsilon_{ij}$$
and $R^2$ for fixed effects ($R^2_m$) is defined by Nakagawa and Schielzeth as:
$$R^2_m = \frac{\sigma^2_f}{\sigma^2_f + \sigma^2_\alpha + \sigma^2_\epsilon}$$
where:
$$\sigma^2_f = var\left( \beta_1 X^{(1)}_{ij} + \beta_2 X^{(2)}_{ij} \right)$$
So, when in the second model you drop $X_2$, what changes is that $\sigma^2_f = var( \beta_1 X^{(1)}_{ij} )$. You can check this thread on how does variance of sum relates to sum of variances because it relates to the formula. What you can find is that, generally, variance of sum is the same as sum of variances if the variables are independent. So if $X_1$ and $X_2$ are uncorrelated you can decompose it in:
$$\frac{var( \beta_1 X^{(1)}_{ij})}{var( \beta_1 X^{(1)}_{ij} + \beta_2 X^{(2)}_{ij}) + \sigma^2_\alpha + \sigma^2_\epsilon} + \frac{var( \beta_2 X^{(2)}_{ij})}{var( \beta_1 X^{(1)}_{ij} + \beta_2 X^{(2)}_{ij}) + \sigma^2_\alpha + \sigma^2_\epsilon}$$
and so you can consider both sides of summation as "$R^2_{\beta_1}$" and "$R^2_{\beta_2}$", i.e. variance explained by both terms in this model. In Nakagawa and Schielzeth's approach $R^2$'s are proportions of variance explained by one part of the model in all the variance explained by all the effects in the model (fixed + random + residual). So it is more relative than with classical $R^2$ that is:
$$R^2 = 1 - \frac{\sum_i(y_i - \hat{y})^2}{\sum_i(y_i - \overline{y})^2}$$
so here, in classical $R^2$, if you compared different models, the divisor would not change. With $R^2$'s for linear mixed models, the divisor changes. Also, in classical $R^2$ you compare model variance to variance of the independent variable, while in $R^2$'s for linear mixed models you compare to all the variance explained by all the effects in the model, so it is more relative. That is also a problem with using it in a way you would like to use it: looking at differences between different $R^2_m$'s. I personally like Nakagawa and Schielzeth approach, however you have to remember that while the idea is it is an "absolute" measure, in practice it is not that "absolute" as classical $R^2$ for linear regression. I would treat it as another measure of fit, but certainly not as "more objective" than others. Also, consider that in general $R^2$ for linear models has it's flaws (e.g. this question).
If you wanted to look at variance explained by some independent variables alone I would rather use "relative" approach, i.e. "$R^2_{\beta_1}$" and "$R^2_{\beta_2}$". However, $R^2$ is used as a measure of fit for a whole model and I haven’t seen "partial $R^2$" used by anyone.
The commonly used approach to compare "how important" some fixed coefficient is, would be to check "how big" it is relatively to the scale of your dependent variable (does including it change anything in the result you could obtain by the model) and/or to check the size of standardized coefficients (i.e. $t$-values). Gelman & Hill (2006) give many practical hints on regression models and mixed models, so you could check out this book.
compare_performance(gm1,gm2, rank = TRUE)
, that may help you to make this comparison. The theory behind it is in this paper: Nakagawa, S., Johnson, P. C., & Schielzeth, H. (2017). The coefficient of determination R 2 and intra-class correlation coefficient from generalized linear mixed-effects models revisited and expanded. Journal of the Royal Society Interface, 14(134), 20170213. $\endgroup$