Meta said it was lifting restrictions placed on the Facebook and Instagram accounts of former President Donald Trump 17 months ago, ahead of the Republican National Convention.