WASHINGTON — President Obama this weekend signed legislation that will bring a degree of relief to the nation’s forests by helping federal agencies solve several of the top problems caused by the skyrocketing costs of wildfire suppression. The measure establishes a new approach to budgeting for costly wildfires, which continually drain the budgets of the Forest Service and Department of the Interior and lead to the transfer of hundreds of millions of dollars from other agency forest and land management priorities.