The case joins a rising number of legal challenges to President Trump’s firing spree that has violated limits on his power.